Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: finish interceptors migration #782

Merged
merged 2 commits into from
Jul 22, 2024
Merged

Conversation

milesziemer
Copy link
Contributor

@milesziemer milesziemer commented Jul 13, 2024

Description of changes

aws-sdk-swift pr: awslabs/aws-sdk-swift#1631

Removes all Middleware types, references, and implementations, completing migration to using Orchestrator + Interceptors. Tests using middleware were also migrated to use Orchestrator + Interceptors. Codegen was updated, removing the useInterceptors setting, switching all code that was either generating middleware or interceptors to just generate interceptors. This also allowed removing some other existing generator code around middleware steps.

As with the corresponding aws-sdk-swift commit, this is already a large commit so I wanted to avoid doing too much refactoring or moving code around. For example, I didn't change file names or type names. There's probably a good deal of refactoring that can be done, but it is out of scope for this PR.

Also, this commit removes the amz-sdk-invocation-id/amz-sdk-request header impl as it was moved to aws-sdk-swift in the corresponding commit.

Scope

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change - Removes a bunch of types that are no longer used

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Removes all Middleware types, references, and implementations, completing
migration to using Orchestrator + Interceptors. Tests using middleware
were also migrated to use Orchestrator + Interceptors. Codegen was updated,
removing the `useInterceptors` setting, switching all code that was either
generating middleware or interceptors to just generate interceptors. This
also allowed removing some other existing generator code around middleware
steps.

As with the corresponding aws-sdk-swift commit, this is already a large commit
so I wanted to avoid doing too much refactoring or moving code around. For
example, I didn't change file names or type names. There's probably a good
deal of refactoring that can be done, but it is out of scope for this PR.

Also, this commit removes the amz-sdk-invocation-id/amz-sdk-request header impl
as it was moved to aws-sdk-swift in the corresponding commit.
@milesziemer milesziemer merged commit c089796 into main Jul 22, 2024
27 checks passed
@milesziemer milesziemer deleted the finish-interceptor-migration branch July 22, 2024 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants